package com.music.model;

import java.util.ArrayList;
import java.util.Arrays;

/**
 * Interface with all constants of the program
 * 
 * @author antho
 * 
 */
public interface Data {

	/**
	 * Data for the library
	 */
	final String dirMusic = "/media/DATA/Programmation/Music2/Music"; 	// Repertoire de recherche des musiques
	final String dirLib = "lib.xml"; 									// Repertoire du fichier XML
	
	/**
	 * Constants of the software
	 */
	final ArrayList<String> allowedType = new ArrayList<String>(Arrays.asList("mp3", "wma", "m4a"));
	final String unknow = "Inconnu";
	final String artist = "Artist", album = "Album", track = "Track", genre="Genre";
	
	/**
	 * Data for tags
	 */
//	final int[] TAG_POSITION = {3,33,63,93,97,125,126,127,128};	//title, artist, album, year, comment, zero-byte, track, genre
//	final int[] TAG2_POSITION = {4,64,124,184,185,215,221,227};	//title, artist, album, speed, genre, start-time, end-time
	final String TAB_GENRE[] = {										//array containing all the predefined genres
			 "Blues","Classic Rock","Country","Dance","Disco","Funk","Grunge","Hip-Hop", "Jazz","Metal", "New Age",
			 "Oldies","Other","Pop","R&B","Rap","Reggae","Rock","Techno","Industrial","Alternative","Ska","Death Metal",
			 "Pranks","Soundtrack","Euro-Techno","Ambient","Trip-Hop","Vocal","Jazz+Funk","Fusion","Trance","Classical",
			 "Instrumental","Acid","House","Game","Sound Clip","Gospel","Noise","AlternRock","Bass","Soul","Punk",
			 "Space","Meditative","Instrum. Pop","Instrum. Rock","Ethnic","Gothic","Darkwave","Techno-Industrial",
			 "Electronic","Pop-Folk","Eurodance","Dream","Southern Rock","Comedy","Cult","Gangsta","Top",
			 "Christian Rap","Pop/Funk","Jungle","Native American","Cabaret","New Wave","Psychadelic","Rave",
			 "Showtunes","Trailer","Lo-Fi","Tribal","Acid Punk","Acid Jazz","Polka","Retro","Musical","Rock & Roll",
			 "Hard Rock","Folk","Folk-Rock","National Folk","Swing","Fast Fusion","Bebob","Latin","Revival","Celtic",
			 "Bluegrass","Avantgarde","Gothic Rock","Prog. Rock","Psychedel. Rock","Symph. Rock","Slow Rock",
			 "Big Band","Chorus","Easy Listening","Acoustic","Humour","Speech","Chanson","Opera","Chamber Music",
			 "Sonata","Symphony","Booty Bass","Primus","Porn Groove","Satire","Slow Jam","Club","Tango","Samba",
			 "Folklore","Ballad","Power Ballad","Rhythmic Soul","Freestyle","Duet","Punk Rock","Drum Solo",
			 "Acapella","Euro-House","Dance Hall", Data.unknow
	};
//	final String SPEED[] = {"Unset", "Slow", "Medium", "Fast", "Hardcore"};	//speed of a track

}
